package com.designpattern.builder;

/**
 * 无毒蛇
 */
public class NonToxicSnakeBuilder extends SnakeBuilder {
    Snake animal = new Snake();

    void head() {
        animal.addPart("椭圆形的头");
    }

    void eye() {
        animal.addPart("园园的眼睛");
    }

    void nose() {
        animal.addPart("只有鼻孔");
    }

    void mouth() {
        animal.addPart("没有牙齿");
    }

    void bodyLength() {
        animal.addPart("有40厘米长");
    }

    void color() {
        animal.addPart("麻色");
    }

    Snake getResult() {
        return animal;
    }
}
